<template>
<!-- 综合查询 -->
<div>
    <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="任务查询" name="first">
            <missionQuery></missionQuery>
        </el-tab-pane>
        <el-tab-pane label="案件查询" name="second">
            <queryAdvancedCase></queryAdvancedCase>
        </el-tab-pane>
    </el-tabs>
</div>
</template>

<script>
import missionQuery from '@/views/query/missionQuery.vue'
import queryAdvancedCase from '@/views/query/queryAdvancedCase.vue'
export default {
    components: {
        missionQuery,
        queryAdvancedCase
    },
    data() {
        return {
            activeName: 'first',
            searchPolicyNo: "",
        };
    },
    computed: {},
    watch: {},
    methods: {
        handleClick(tab, event) {
            console.log(tab, event);
        }
    },
    created() {
        if ("policyNo" in this.$route.query) {
            this.activeName = "second"
        }
    },
    mounted() {},
}
</script>

<style lang="scss" scoped>
//@import url(); 引入公共css类
</style>
